package com.stormrage.entity.excel;

import java.io.Serializable;

import org.jeecgframework.poi.excel.annotation.Excel;

public class EntEnterpriseExcel implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -6859301823935715586L;

	// ------------------------------- Fields -------------------------------

	@Excel(name = "序号")
	private Integer id;

	@Excel(name = "企业名称")
	private String enterprise;

	// ------------------------------- Fields -------------------------------

	public EntEnterpriseExcel() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getEnterprise() {
		return enterprise;
	}

	public void setEnterprise(String enterprise) {
		this.enterprise = enterprise;
	}

	// ------------------------------- Fields -------------------------------

	@Override
	public String toString() {
		return this.getClass() + " : id - " + id + " enterprise - " + enterprise;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o)
			return true;
		if (o == null || getClass() != o.getClass())
			return false;

		EntEnterpriseExcel entity = (EntEnterpriseExcel) o;

		if (enterprise != null ? !enterprise.equals(entity.enterprise) : entity.enterprise != null)
			return false;

		return true;
	}

}
